/*
 * Copyright 2010 bedatadriven
 *
 *    Licensed under the Apache License, Version 2.0 (the "License");
 *    you may not use this file except in compliance with the License.
 *    You may obtain a copy of the License at
 *
 *        http://www.apache.org/licenses/LICENSE-2.0
 *
 *    Unless required by applicable law or agreed to in writing, software
 *    distributed under the License is distributed on an "AS IS" BASIS,
 *    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *    See the License for the specific language governing permissions and
 *    limitations under the License.
 */

/**
 * JacobGen generated file --- do not edit
 *
 * (http://www.bigatti.it/projects/jacobgen)
 */
package com.bedatadriven.mso.excel;

import com.bedatadriven.mso.core.*;
import com.google.gwt.core.client.JavaScriptObject;

/** Wrapper for Excel.Workbook*/
public class Workbook extends JavaScriptObject {

	protected Workbook() { }
  public native final ExcelApplication getApplication()/*-{
    return this.Application;
  }-*/;

  public native final int getCreator()/*-{
    return this.Creator;
  }-*/;

  public native final Object getParent()/*-{
    return this.Parent;
  }-*/;

  public native final boolean getAcceptLabelsInFormulas()/*-{
    return this.AcceptLabelsInFormulas;
  }-*/;

  public native final void setAcceptLabelsInFormulas(boolean value)/*-{
    this.AcceptLabelsInFormulas = value;
  }-*/;

  public native final void activate()/*-{
    this.Activate( );
  }-*/;

  public native final Chart getActiveChart()/*-{
    return this.ActiveChart;
  }-*/;

  public native final Object getActiveSheet()/*-{
    return this.ActiveSheet;
  }-*/;

  public native final String getAuthor()/*-{
    return this.Author;
  }-*/;

  public native final void setAuthor(String value)/*-{
    this.Author = value;
  }-*/;

  public native final int getAutoUpdateFrequency()/*-{
    return this.AutoUpdateFrequency;
  }-*/;

  public native final void setAutoUpdateFrequency(int value)/*-{
    this.AutoUpdateFrequency = value;
  }-*/;

  public native final boolean getAutoUpdateSaveChanges()/*-{
    return this.AutoUpdateSaveChanges;
  }-*/;

  public native final void setAutoUpdateSaveChanges(boolean value)/*-{
    this.AutoUpdateSaveChanges = value;
  }-*/;

  public native final int getChangeHistoryDuration()/*-{
    return this.ChangeHistoryDuration;
  }-*/;

  public native final void setChangeHistoryDuration(int value)/*-{
    this.ChangeHistoryDuration = value;
  }-*/;

  public native final Object getBuiltinDocumentProperties()/*-{
    return this.BuiltinDocumentProperties;
  }-*/;

  public native final void changeFileAccess(int mode,  Object writePassword,  Object notify)/*-{
    this.ChangeFileAccess( mode, writePassword, notify);
  }-*/;

  public native final void changeLink(String name, String newName, int type)/*-{
    this.ChangeLink( name, newName, type);
  }-*/;

  public native final Sheets getCharts()/*-{
    return this.Charts;
  }-*/;

  public native final void close( Object saveChanges,  Object filename,  Object routeWorkbook)/*-{
    this.Close( saveChanges, filename, routeWorkbook);
  }-*/;

  public native final String getCodeName()/*-{
    return this.CodeName;
  }-*/;

  public native final String get_CodeName()/*-{
    return this._CodeName;
  }-*/;

  public native final void set_CodeName(String value)/*-{
    this._CodeName = value;
  }-*/;

  public native final JavaScriptObject getColors( Object index)/*-{
    return this.Colors( index);
  }-*/;

  public native final CommandBars getCommandBars()/*-{
    return this.CommandBars;
  }-*/;

  public native final String getComments()/*-{
    return this.Comments;
  }-*/;

  public native final void setComments(String value)/*-{
    this.Comments = value;
  }-*/;

  public native final int getConflictResolution()/*-{
    return this.ConflictResolution;
  }-*/;

  public native final void setConflictResolution(int value)/*-{
    this.ConflictResolution = value;
  }-*/;

  public native final Object getContainer()/*-{
    return this.Container;
  }-*/;

  public native final boolean getCreateBackup()/*-{
    return this.CreateBackup;
  }-*/;

  public native final Object getCustomDocumentProperties()/*-{
    return this.CustomDocumentProperties;
  }-*/;

  public native final boolean getDate1904()/*-{
    return this.Date1904;
  }-*/;

  public native final void setDate1904(boolean value)/*-{
    this.Date1904 = value;
  }-*/;

  public native final void deleteNumberFormat(String numberFormat)/*-{
    this.DeleteNumberFormat( numberFormat);
  }-*/;

  public native final Sheets getDialogSheets()/*-{
    return this.DialogSheets;
  }-*/;

  public native final int getDisplayDrawingObjects()/*-{
    return this.DisplayDrawingObjects;
  }-*/;

  public native final void setDisplayDrawingObjects(int value)/*-{
    this.DisplayDrawingObjects = value;
  }-*/;

  public native final boolean exclusiveAccess()/*-{
    return this.ExclusiveAccess( );
  }-*/;

  public native final int getFileFormat()/*-{
    return this.FileFormat;
  }-*/;

  public native final void forwardMailer()/*-{
    this.ForwardMailer( );
  }-*/;

  public native final String getFullName()/*-{
    return this.FullName;
  }-*/;

  public native final boolean getHasMailer()/*-{
    return this.HasMailer;
  }-*/;

  public native final void setHasMailer(boolean value)/*-{
    this.HasMailer = value;
  }-*/;

  public native final boolean getHasPassword()/*-{
    return this.HasPassword;
  }-*/;

  public native final boolean getHasRoutingSlip()/*-{
    return this.HasRoutingSlip;
  }-*/;

  public native final void setHasRoutingSlip(boolean value)/*-{
    this.HasRoutingSlip = value;
  }-*/;

  public native final boolean getIsAddin()/*-{
    return this.IsAddin;
  }-*/;

  public native final void setIsAddin(boolean value)/*-{
    this.IsAddin = value;
  }-*/;

  public native final String getKeywords()/*-{
    return this.Keywords;
  }-*/;

  public native final void setKeywords(String value)/*-{
    this.Keywords = value;
  }-*/;

  public native final JavaScriptObject linkInfo(String name, int linkInfo,  Object type,  Object editionRef)/*-{
    return this.LinkInfo( name, linkInfo, type, editionRef);
  }-*/;

  public native final JavaScriptObject linkSources( Object type)/*-{
    return this.LinkSources( type);
  }-*/;

  public native final Mailer getMailer()/*-{
    return this.Mailer;
  }-*/;

  public native final void mergeWorkbook( Object filename)/*-{
    this.MergeWorkbook( filename);
  }-*/;

  public native final Sheets getModules()/*-{
    return this.Modules;
  }-*/;

  public native final boolean getMultiUserEditing()/*-{
    return this.MultiUserEditing;
  }-*/;

  public native final String getName()/*-{
    return this.Name;
  }-*/;

  public native final Names getNames()/*-{
    return this.Names;
  }-*/;

  public native final Window newWindow()/*-{
    return this.NewWindow( );
  }-*/;

  public native final String getOnSave()/*-{
    return this.OnSave;
  }-*/;

  public native final void setOnSave(String value)/*-{
    this.OnSave = value;
  }-*/;

  public native final String getOnSheetActivate()/*-{
    return this.OnSheetActivate;
  }-*/;

  public native final void setOnSheetActivate(String value)/*-{
    this.OnSheetActivate = value;
  }-*/;

  public native final String getOnSheetDeactivate()/*-{
    return this.OnSheetDeactivate;
  }-*/;

  public native final void setOnSheetDeactivate(String value)/*-{
    this.OnSheetDeactivate = value;
  }-*/;

  public native final void openLinks(String name,  Object readOnly,  Object type)/*-{
    this.OpenLinks( name, readOnly, type);
  }-*/;

  public native final String getPath()/*-{
    return this.Path;
  }-*/;

  public native final boolean getPersonalViewListSettings()/*-{
    return this.PersonalViewListSettings;
  }-*/;

  public native final void setPersonalViewListSettings(boolean value)/*-{
    this.PersonalViewListSettings = value;
  }-*/;

  public native final boolean getPersonalViewPrintSettings()/*-{
    return this.PersonalViewPrintSettings;
  }-*/;

  public native final void setPersonalViewPrintSettings(boolean value)/*-{
    this.PersonalViewPrintSettings = value;
  }-*/;

  public native final PivotCaches pivotCaches()/*-{
    return this.PivotCaches( );
  }-*/;

  public native final void post( Object destName)/*-{
    this.Post( destName);
  }-*/;

  public native final boolean getPrecisionAsDisplayed()/*-{
    return this.PrecisionAsDisplayed;
  }-*/;

  public native final void setPrecisionAsDisplayed(boolean value)/*-{
    this.PrecisionAsDisplayed = value;
  }-*/;

  public native final void __PrintOut( Object from,  Object to,  Object copies,  Object preview,  Object activePrinter,  Object printToFile,  Object collate)/*-{
    this.__PrintOut( from, to, copies, preview, activePrinter, printToFile, collate);
  }-*/;

  public native final void printPreview( Object enableChanges)/*-{
    this.PrintPreview( enableChanges);
  }-*/;

  public native final void _Protect( Object password,  Object structure,  Object windows)/*-{
    this._Protect( password, structure, windows);
  }-*/;

  public native final void _ProtectSharing( Object filename,  Object password,  Object writeResPassword,  Object readOnlyRecommended,  Object createBackup,  Object sharingPassword)/*-{
    this._ProtectSharing( filename, password, writeResPassword, readOnlyRecommended, createBackup, sharingPassword);
  }-*/;

  public native final boolean getProtectStructure()/*-{
    return this.ProtectStructure;
  }-*/;

  public native final boolean getProtectWindows()/*-{
    return this.ProtectWindows;
  }-*/;

  public native final boolean getReadOnly()/*-{
    return this.ReadOnly;
  }-*/;

  public native final boolean get_ReadOnlyRecommended()/*-{
    return this._ReadOnlyRecommended;
  }-*/;

  public native final void refreshAll()/*-{
    this.RefreshAll( );
  }-*/;

  public native final void reply()/*-{
    this.Reply( );
  }-*/;

  public native final void replyAll()/*-{
    this.ReplyAll( );
  }-*/;

  public native final void removeUser(int index)/*-{
    this.RemoveUser( index);
  }-*/;

  public native final int getRevisionNumber()/*-{
    return this.RevisionNumber;
  }-*/;

  public native final void route()/*-{
    this.Route( );
  }-*/;

  public native final boolean getRouted()/*-{
    return this.Routed;
  }-*/;

  public native final RoutingSlip getRoutingSlip()/*-{
    return this.RoutingSlip;
  }-*/;

  public native final void runAutoMacros(int which)/*-{
    this.RunAutoMacros( which);
  }-*/;

  public native final void save()/*-{
    this.Save( );
  }-*/;

  public native final void _SaveAs( Object filename,  Object fileFormat,  Object password,  Object writeResPassword,  Object readOnlyRecommended,  Object createBackup, int accessMode,  Object conflictResolution,  Object addToMru,  Object textCodepage,  Object textVisualLayout)/*-{
    this._SaveAs( filename, fileFormat, password, writeResPassword, readOnlyRecommended, createBackup, accessMode, conflictResolution, addToMru, textCodepage, textVisualLayout);
  }-*/;

  public native final void saveCopyAs( Object filename)/*-{
    this.SaveCopyAs( filename);
  }-*/;

  public native final boolean getSaved()/*-{
    return this.Saved;
  }-*/;

  public native final void setSaved(boolean value)/*-{
    this.Saved = value;
  }-*/;

  public native final boolean getSaveLinkValues()/*-{
    return this.SaveLinkValues;
  }-*/;

  public native final void setSaveLinkValues(boolean value)/*-{
    this.SaveLinkValues = value;
  }-*/;

  public native final void sendMail( Object recipients,  Object subject,  Object returnReceipt)/*-{
    this.SendMail( recipients, subject, returnReceipt);
  }-*/;

  public native final void sendMailer( Object fileFormat, int priority)/*-{
    this.SendMailer( fileFormat, priority);
  }-*/;

  public native final void setLinkOnData(String name,  Object procedure)/*-{
    this.SetLinkOnData( name, procedure);
  }-*/;

  public native final Sheets getSheets()/*-{
    return this.Sheets;
  }-*/;

  public native final boolean getShowConflictHistory()/*-{
    return this.ShowConflictHistory;
  }-*/;

  public native final void setShowConflictHistory(boolean value)/*-{
    this.ShowConflictHistory = value;
  }-*/;

  public native final Styles getStyles()/*-{
    return this.Styles;
  }-*/;

  public native final String getSubject()/*-{
    return this.Subject;
  }-*/;

  public native final void setSubject(String value)/*-{
    this.Subject = value;
  }-*/;

  public native final String getTitle()/*-{
    return this.Title;
  }-*/;

  public native final void setTitle(String value)/*-{
    this.Title = value;
  }-*/;

  public native final void unprotect( Object password)/*-{
    this.Unprotect( password);
  }-*/;

  public native final void unprotectSharing( Object sharingPassword)/*-{
    this.UnprotectSharing( sharingPassword);
  }-*/;

  public native final void updateFromFile()/*-{
    this.UpdateFromFile( );
  }-*/;

  public native final void updateLink( Object name,  Object type)/*-{
    this.UpdateLink( name, type);
  }-*/;

  public native final boolean getUpdateRemoteReferences()/*-{
    return this.UpdateRemoteReferences;
  }-*/;

  public native final void setUpdateRemoteReferences(boolean value)/*-{
    this.UpdateRemoteReferences = value;
  }-*/;

  public native final boolean getUserControl()/*-{
    return this.UserControl;
  }-*/;

  public native final void setUserControl(boolean value)/*-{
    this.UserControl = value;
  }-*/;

  public native final JavaScriptObject getUserStatus()/*-{
    return this.UserStatus;
  }-*/;

  public native final CustomViews getCustomViews()/*-{
    return this.CustomViews;
  }-*/;

  public native final Windows getWindows()/*-{
    return this.Windows;
  }-*/;

  public native final Sheets getWorksheets()/*-{
    return this.Worksheets;
  }-*/;

  public native final boolean getWriteReserved()/*-{
    return this.WriteReserved;
  }-*/;

  public native final String getWriteReservedBy()/*-{
    return this.WriteReservedBy;
  }-*/;

  public native final Sheets getExcel4IntlMacroSheets()/*-{
    return this.Excel4IntlMacroSheets;
  }-*/;

  public native final Sheets getExcel4MacroSheets()/*-{
    return this.Excel4MacroSheets;
  }-*/;

  public native final boolean getTemplateRemoveExtData()/*-{
    return this.TemplateRemoveExtData;
  }-*/;

  public native final void setTemplateRemoveExtData(boolean value)/*-{
    this.TemplateRemoveExtData = value;
  }-*/;

  public native final void highlightChangesOptions( Object when,  Object who,  Object where)/*-{
    this.HighlightChangesOptions( when, who, where);
  }-*/;

  public native final boolean getHighlightChangesOnScreen()/*-{
    return this.HighlightChangesOnScreen;
  }-*/;

  public native final void setHighlightChangesOnScreen(boolean value)/*-{
    this.HighlightChangesOnScreen = value;
  }-*/;

  public native final boolean getKeepChangeHistory()/*-{
    return this.KeepChangeHistory;
  }-*/;

  public native final void setKeepChangeHistory(boolean value)/*-{
    this.KeepChangeHistory = value;
  }-*/;

  public native final boolean getListChangesOnNewSheet()/*-{
    return this.ListChangesOnNewSheet;
  }-*/;

  public native final void setListChangesOnNewSheet(boolean value)/*-{
    this.ListChangesOnNewSheet = value;
  }-*/;

  public native final void purgeChangeHistoryNow(int days,  Object sharingPassword)/*-{
    this.PurgeChangeHistoryNow( days, sharingPassword);
  }-*/;

  public native final void acceptAllChanges( Object when,  Object who,  Object where)/*-{
    this.AcceptAllChanges( when, who, where);
  }-*/;

  public native final void rejectAllChanges( Object when,  Object who,  Object where)/*-{
    this.RejectAllChanges( when, who, where);
  }-*/;

  public native final void pivotTableWizard( Object sourceType,  Object sourceData,  Object tableDestination,  Object tableName,  Object rowGrand,  Object columnGrand,  Object saveData,  Object hasAutoFormat,  Object autoPage,  Object reserved,  Object backgroundQuery,  Object optimizeCache,  Object pageFieldOrder,  Object pageFieldWrapCount,  Object readData,  Object connection)/*-{
    this.PivotTableWizard( sourceType, sourceData, tableDestination, tableName, rowGrand, columnGrand, saveData, hasAutoFormat, autoPage, reserved, backgroundQuery, optimizeCache, pageFieldOrder, pageFieldWrapCount, readData, connection);
  }-*/;

  public native final void resetColors()/*-{
    this.ResetColors( );
  }-*/;

  public native final JavaScriptObject getVBProject()/*-{
    return this.VBProject;
  }-*/;

  public native final void followHyperlink(String address,  Object subAddress,  Object newWindow,  Object addHistory,  Object extraInfo,  Object method,  Object headerInfo)/*-{
    this.FollowHyperlink( address, subAddress, newWindow, addHistory, extraInfo, method, headerInfo);
  }-*/;

  public native final void addToFavorites()/*-{
    this.AddToFavorites( );
  }-*/;

  public native final boolean getIsInplace()/*-{
    return this.IsInplace;
  }-*/;

  public native final void _PrintOut( Object from,  Object to,  Object copies,  Object preview,  Object activePrinter,  Object printToFile,  Object collate,  Object prToFileName)/*-{
    this._PrintOut( from, to, copies, preview, activePrinter, printToFile, collate, prToFileName);
  }-*/;

  public native final void webPagePreview()/*-{
    this.WebPagePreview( );
  }-*/;

  public native final PublishObjects getPublishObjects()/*-{
    return this.PublishObjects;
  }-*/;

  public native final WebOptions getWebOptions()/*-{
    return this.WebOptions;
  }-*/;

  protected native final void _reloadAs( int encoding)/*-{
    this.ReloadAs( encoding);
  }-*/;

  public final void reloadAs(MsoEncoding encoding){
    _reloadAs(encoding.getValue());
  }
  public native final HTMLProject getHTMLProject()/*-{
    return this.HTMLProject;
  }-*/;

  public native final boolean getEnvelopeVisible()/*-{
    return this.EnvelopeVisible;
  }-*/;

  public native final void setEnvelopeVisible(boolean value)/*-{
    this.EnvelopeVisible = value;
  }-*/;

  public native final int getCalculationVersion()/*-{
    return this.CalculationVersion;
  }-*/;

  public native final void dummy17(int calcid)/*-{
    this.Dummy17( calcid);
  }-*/;

  public native final void sblt(String s)/*-{
    this.sblt( s);
  }-*/;

  public native final boolean getVBASigned()/*-{
    return this.VBASigned;
  }-*/;

  public native final boolean getShowPivotTableFieldList()/*-{
    return this.ShowPivotTableFieldList;
  }-*/;

  public native final void setShowPivotTableFieldList(boolean value)/*-{
    this.ShowPivotTableFieldList = value;
  }-*/;

  public native final int getUpdateLinks()/*-{
    return this.UpdateLinks;
  }-*/;

  public native final void setUpdateLinks(int value)/*-{
    this.UpdateLinks = value;
  }-*/;

  public native final void breakLink(String name, int type)/*-{
    this.BreakLink( name, type);
  }-*/;

  public native final void dummy16()/*-{
    this.Dummy16( );
  }-*/;

  public native final void saveAs( Object filename,  Object fileFormat,  Object password,  Object writeResPassword,  Object readOnlyRecommended,  Object createBackup, int accessMode,  Object conflictResolution,  Object addToMru,  Object textCodepage,  Object textVisualLayout,  Object local)/*-{
    this.SaveAs( filename, fileFormat, password, writeResPassword, readOnlyRecommended, createBackup, accessMode, conflictResolution, addToMru, textCodepage, textVisualLayout, local);
  }-*/;

  public native final boolean getEnableAutoRecover()/*-{
    return this.EnableAutoRecover;
  }-*/;

  public native final void setEnableAutoRecover(boolean value)/*-{
    this.EnableAutoRecover = value;
  }-*/;

  public native final boolean getRemovePersonalInformation()/*-{
    return this.RemovePersonalInformation;
  }-*/;

  public native final void setRemovePersonalInformation(boolean value)/*-{
    this.RemovePersonalInformation = value;
  }-*/;

  public native final String getFullNameURLEncoded()/*-{
    return this.FullNameURLEncoded;
  }-*/;

  public native final void checkIn( Object saveChanges,  Object comments,  Object makePublic)/*-{
    this.CheckIn( saveChanges, comments, makePublic);
  }-*/;

  public native final boolean canCheckIn()/*-{
    return this.CanCheckIn( );
  }-*/;

  public native final void sendForReview( Object recipients,  Object subject,  Object showMessage,  Object includeAttachment)/*-{
    this.SendForReview( recipients, subject, showMessage, includeAttachment);
  }-*/;

  public native final void replyWithChanges( Object showMessage)/*-{
    this.ReplyWithChanges( showMessage);
  }-*/;

  public native final void endReview()/*-{
    this.EndReview( );
  }-*/;

  public native final String getPassword()/*-{
    return this.Password;
  }-*/;

  public native final void setPassword(String value)/*-{
    this.Password = value;
  }-*/;

  public native final String getWritePassword()/*-{
    return this.WritePassword;
  }-*/;

  public native final void setWritePassword(String value)/*-{
    this.WritePassword = value;
  }-*/;

  public native final String getPasswordEncryptionProvider()/*-{
    return this.PasswordEncryptionProvider;
  }-*/;

  public native final String getPasswordEncryptionAlgorithm()/*-{
    return this.PasswordEncryptionAlgorithm;
  }-*/;

  public native final int getPasswordEncryptionKeyLength()/*-{
    return this.PasswordEncryptionKeyLength;
  }-*/;

  public native final void setPasswordEncryptionOptions( Object passwordEncryptionProvider,  Object passwordEncryptionAlgorithm,  Object passwordEncryptionKeyLength,  Object passwordEncryptionFileProperties)/*-{
    this.SetPasswordEncryptionOptions( passwordEncryptionProvider, passwordEncryptionAlgorithm, passwordEncryptionKeyLength, passwordEncryptionFileProperties);
  }-*/;

  public native final boolean getPasswordEncryptionFileProperties()/*-{
    return this.PasswordEncryptionFileProperties;
  }-*/;

  public native final boolean getReadOnlyRecommended()/*-{
    return this.ReadOnlyRecommended;
  }-*/;

  public native final void setReadOnlyRecommended(boolean value)/*-{
    this.ReadOnlyRecommended = value;
  }-*/;

  public native final void protect( Object password,  Object structure,  Object windows)/*-{
    this.Protect( password, structure, windows);
  }-*/;

  public native final SmartTagOptions getSmartTagOptions()/*-{
    return this.SmartTagOptions;
  }-*/;

  public native final void recheckSmartTags()/*-{
    this.RecheckSmartTags( );
  }-*/;

  public native final Permission getPermission()/*-{
    return this.Permission;
  }-*/;

  public native final SharedWorkspace getSharedWorkspace()/*-{
    return this.SharedWorkspace;
  }-*/;

  public native final Sync getSync()/*-{
    return this.Sync;
  }-*/;

  public native final void sendFaxOverInternet( Object recipients,  Object subject,  Object showMessage)/*-{
    this.SendFaxOverInternet( recipients, subject, showMessage);
  }-*/;

  public native final XmlNamespaces getXmlNamespaces()/*-{
    return this.XmlNamespaces;
  }-*/;

  public native final XmlMaps getXmlMaps()/*-{
    return this.XmlMaps;
  }-*/;

  public native final int xmlImport(String url, Object importMap,  Object overwrite,  Object destination)/*-{
    return this.XmlImport( url, importMap, overwrite, destination);
  }-*/;

  public native final SmartDocument getSmartDocument()/*-{
    return this.SmartDocument;
  }-*/;

  public native final DocumentLibraryVersions getDocumentLibraryVersions()/*-{
    return this.DocumentLibraryVersions;
  }-*/;

  public native final boolean getInactiveListBorderVisible()/*-{
    return this.InactiveListBorderVisible;
  }-*/;

  public native final void setInactiveListBorderVisible(boolean value)/*-{
    this.InactiveListBorderVisible = value;
  }-*/;

  public native final boolean getDisplayInkComments()/*-{
    return this.DisplayInkComments;
  }-*/;

  public native final void setDisplayInkComments(boolean value)/*-{
    this.DisplayInkComments = value;
  }-*/;

  public native final int xmlImportXml(String data, Object importMap,  Object overwrite,  Object destination)/*-{
    return this.XmlImportXml( data, importMap, overwrite, destination);
  }-*/;

  public native final void saveAsXMLData(String filename, XmlMap map)/*-{
    this.SaveAsXMLData( filename, map);
  }-*/;

  public native final void toggleFormsDesign()/*-{
    this.ToggleFormsDesign( );
  }-*/;

  public native final MetaProperties getContentTypeProperties()/*-{
    return this.ContentTypeProperties;
  }-*/;

  public native final Connections getConnections()/*-{
    return this.Connections;
  }-*/;

  public native final void removeDocumentInformation(int removeDocInfoType)/*-{
    this.RemoveDocumentInformation( removeDocInfoType);
  }-*/;

  public native final SignatureSet getSignatures()/*-{
    return this.Signatures;
  }-*/;

  public native final void checkInWithVersion( Object saveChanges,  Object comments,  Object makePublic,  Object versionType)/*-{
    this.CheckInWithVersion( saveChanges, comments, makePublic, versionType);
  }-*/;

  public native final ServerPolicy getServerPolicy()/*-{
    return this.ServerPolicy;
  }-*/;

  public native final void lockServerFile()/*-{
    this.LockServerFile( );
  }-*/;

  public native final DocumentInspectors getDocumentInspectors()/*-{
    return this.DocumentInspectors;
  }-*/;

  public native final WorkflowTasks getWorkflowTasks()/*-{
    return this.GetWorkflowTasks( );
  }-*/;

  public native final WorkflowTemplates getWorkflowTemplates()/*-{
    return this.GetWorkflowTemplates( );
  }-*/;

  public native final void printOut( Object from,  Object to,  Object copies,  Object preview,  Object activePrinter,  Object printToFile,  Object collate,  Object prToFileName,  Object ignorePrintAreas)/*-{
    this.PrintOut( from, to, copies, preview, activePrinter, printToFile, collate, prToFileName, ignorePrintAreas);
  }-*/;

  public native final ServerViewableItems getServerViewableItems()/*-{
    return this.ServerViewableItems;
  }-*/;

  public native final TableStyles getTableStyles()/*-{
    return this.TableStyles;
  }-*/;

  public native final JavaScriptObject getDefaultTableStyle()/*-{
    return this.DefaultTableStyle;
  }-*/;

  public native final void setDefaultTableStyle( Object value)/*-{
    this.DefaultTableStyle = value;
  }-*/;

  public native final JavaScriptObject getDefaultPivotTableStyle()/*-{
    return this.DefaultPivotTableStyle;
  }-*/;

  public native final void setDefaultPivotTableStyle( Object value)/*-{
    this.DefaultPivotTableStyle = value;
  }-*/;

  public native final boolean getCheckCompatibility()/*-{
    return this.CheckCompatibility;
  }-*/;

  public native final void setCheckCompatibility(boolean value)/*-{
    this.CheckCompatibility = value;
  }-*/;

  public native final boolean getHasVBProject()/*-{
    return this.HasVBProject;
  }-*/;

  public native final CustomXMLParts getCustomXMLParts()/*-{
    return this.CustomXMLParts;
  }-*/;

  public native final boolean getFinal()/*-{
    return this.Final;
  }-*/;

  public native final void setFinal(boolean value)/*-{
    this.Final = value;
  }-*/;

  public native final Research getResearch()/*-{
    return this.Research;
  }-*/;

  public native final OfficeTheme getTheme()/*-{
    return this.Theme;
  }-*/;

  public native final void applyTheme(String filename)/*-{
    this.ApplyTheme( filename);
  }-*/;

  public native final boolean getExcel8CompatibilityMode()/*-{
    return this.Excel8CompatibilityMode;
  }-*/;

  public native final boolean getConnectionsDisabled()/*-{
    return this.ConnectionsDisabled;
  }-*/;

  public native final void enableConnections()/*-{
    this.EnableConnections( );
  }-*/;

  public native final boolean getShowPivotChartActiveFields()/*-{
    return this.ShowPivotChartActiveFields;
  }-*/;

  public native final void setShowPivotChartActiveFields(boolean value)/*-{
    this.ShowPivotChartActiveFields = value;
  }-*/;

  public native final void exportAsFixedFormat(int type,  Object filename,  Object quality,  Object includeDocProperties,  Object ignorePrintAreas,  Object from,  Object to,  Object openAfterPublish,  Object fixedFormatExtClassPtr)/*-{
    this.ExportAsFixedFormat( type, filename, quality, includeDocProperties, ignorePrintAreas, from, to, openAfterPublish, fixedFormatExtClassPtr);
  }-*/;

  public native final IconSets getIconSets()/*-{
    return this.IconSets;
  }-*/;

  public native final String getEncryptionProvider()/*-{
    return this.EncryptionProvider;
  }-*/;

  public native final void setEncryptionProvider(String value)/*-{
    this.EncryptionProvider = value;
  }-*/;

  public native final boolean getDoNotPromptForConvert()/*-{
    return this.DoNotPromptForConvert;
  }-*/;

  public native final void setDoNotPromptForConvert(boolean value)/*-{
    this.DoNotPromptForConvert = value;
  }-*/;

  public native final boolean getForceFullCalculation()/*-{
    return this.ForceFullCalculation;
  }-*/;

  public native final void setForceFullCalculation(boolean value)/*-{
    this.ForceFullCalculation = value;
  }-*/;

  public native final void protectSharing( Object filename,  Object password,  Object writeResPassword,  Object readOnlyRecommended,  Object createBackup,  Object sharingPassword,  Object fileFormat)/*-{
    this.ProtectSharing( filename, password, writeResPassword, readOnlyRecommended, createBackup, sharingPassword, fileFormat);
  }-*/;
}
